﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUC_DN_DsDonHang.ascx.cs" Inherits="FDeal.WUC.WUC_DN_DsDonHang" %>
<style type="text/css">
    .style1
    {
        color: #0000FF;
        font-size: medium;
    }
    .style2
    {
        color: #0000FF;
    }
</style>

<asp:GridView ID="gv_DsDonHang" runat="server" AutoGenerateColumns="False" 
    onrowdeleted="gv_DsDonHang_RowDeleted" 
    onrowdeleting="gv_DsDonHang_RowDeleting" 
    style="text-align: center; margin-right: 2px">
    <Columns>
        <asp:TemplateField HeaderText="ID Đơn Hàng: ">
            <EditItemTemplate>
                <asp:TextBox ID="txt_IDDonHang" runat="server" Text='<%# Bind("IDDONHANG") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>ID Đơn hàng</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label1" runat="server" Text='<%# Bind("IDDONHANG") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="ID Thanh Toán">
            <EditItemTemplate>
                <asp:TextBox ID="txt_IDThanhToan" runat="server" 
                    Text='<%# Bind("IDTHANHTOAN") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>ID Thanh Toán</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label4" runat="server" Text='<%# Bind("IDTHANHTOAN") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="ID Deal">
            <EditItemTemplate>
                <asp:TextBox ID="txt_IDDeal" runat="server" Text='<%# Bind("IDDEAL") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>ID Deal</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label2" runat="server" Text='<%# Bind("IDDEAL") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Số lượng">
            <EditItemTemplate>
                <asp:TextBox ID="txt_SoLuong" runat="server" Text='<%# Bind("SOLUONG") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Số lượng</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label9" runat="server" Text='<%# Bind("SOLUONG") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Tổng giá">
            <EditItemTemplate>
                <asp:TextBox ID="txt_TongGia" runat="server" Text='<%# Bind("TONGGIA") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Tổng giá</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label3" runat="server" Text='<%# Bind("TONGGIA") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Hình thức nhận">
            <EditItemTemplate>
                <asp:TextBox ID="txt_HinhThucNhan" runat="server" 
                    Text='<%# Bind("HINHTHUCNHANHANG") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Hình thức nhận</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label5" runat="server" Text='<%# Bind("HINHTHUCNHANHANG") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Trạng thái">
            <EditItemTemplate>
                <asp:TextBox ID="txt_TrangThai" runat="server" Text='<%# Bind("TRANGTHAI") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style2"><strong>Trạng thái</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label10" runat="server"></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Địa chỉ nhận">
            <EditItemTemplate>
                <asp:TextBox ID="txt_DiaChi" runat="server" Text='<%# Bind("DIACHI") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Địa chỉ nhận</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label6" runat="server" Text='<%# Bind("DIACHINHAN") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Quận/Huyện">
            <EditItemTemplate>
                <asp:TextBox ID="txt_QuanHuyen" runat="server" Text='<%# Bind("QUANHUYEN") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Quận/Huyện</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label7" runat="server" Text='<%# Bind("QUANHUYEN") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Tỉnh thành">
            <EditItemTemplate>
                <asp:TextBox ID="txt_TinhThanh" runat="server" Text='<%# Bind("TINHTHANH") %>'></asp:TextBox>
            </EditItemTemplate>
            <HeaderTemplate>
                <span class="style1"><strong>Tỉnh thành</strong></span>
            </HeaderTemplate>
            <ItemTemplate>
                <asp:Label ID="Label8" runat="server" Text='<%# Bind("TINHTHANH") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>

